<br />
<?php if( count($this->navigation) ): ?>
  <div class='tabs'>
    <?php
      // Render the menu
      //->setUlClass()
      echo $this->navigation()->menu()->setContainer($this->navigation)->render()
    ?>
  </div>
<?php endif; ?>
<div>
<div>
<?php 

echo $this->htmlLink(
        array(
        'route'			=>	'default',
        'module'        => 'country',                                   
        'controller'	=>	'admin-manage-country',
        'action'		=>	'add'
        ),
        $this->translate("+ Add New Country"),
        array(
            'class' => 'smoothbox'
        )
);
?>
</div>
<br />
<div>

<?php if( count($this->paginator) ): ?>

    <div>
        <?php 
            echo $this->paginationControl($this->paginator);
        ?>
    </div>
    <div class="my_field">
        <table class='admin_table' style="width: 100%;">
        <thead>
          <tr>
            <th>
            	<?php echo $this->translate("ID"); ?>
            </th>
            <th class=''>
            	<?php echo $this->translate("Title"); ?>
            </th>
            <th class=''>
            	<?php echo $this->translate("Creation Date"); ?>
            </th>
            <th class=''>
            	<?php echo $this->translate("Modified Date"); ?>
            </th>
            <th class=''>
            	<?php echo $this->translate("Rating"); ?>
            </th>
            <th>
              <?php echo $this->translate("Options") ?>
            </th>
          </tr>
        </thead>
        <tbody class="field_table_body">
             <?php  foreach ($this->paginator as $item): ?>
                <tr>
                    <td>
         	          <?php echo $item->getIdentity(); ?>
                    </td>
                    <td>
         	          <?php echo $item->title; ?>
                    </td>
                    <td>
         	          <?php echo $item->creation_date; ?>
                    </td>
                    <td>
         	          <?php echo $item->modified_date; ?>
                    </td>
                    <td>
         	          <?php echo $item->rating; ?>
                    </td>
                    <td>
                        <?php
                        	echo $this->htmlLink(
                                        array(
                                        'route'			=>	'default',
                                        'module'        => 'country',                                   
                                        'controller'	=>	'admin-manage-country',
                                        'action'		=>	'edit',
                                        'id'			=>	$item->getIdentity(),
                                        'format'        =>  'smoothbox'
                                        ),
                                        $this->translate("Edit"),
                                        array(
                                            'class' => 'smoothbox',
                                        )
                         ); 
                         
                         ?>
                         <?php
                        	echo " | ".$this->htmlLink(
                                        array(
                                        'route'			=>	'default',
                                        'module'        => 'country',                                   
                                        'controller'	=>	'admin-country-field',
                                        'action'		=>	'index',
                                        'id'			=>	$item->getIdentity(),
                                        
                                        ),
                                        $this->translate("List Fields"),
                                        array(
                                            //'class' => 'smoothbox',
                                        )
                         ); ?>
                         <?php
                        	echo " | ".$this->htmlLink(
                                        array(
                                        'route'			=>	'default',
                                        'module'        => 'country',                                   
                                        'controller'	=>	'admin-manage-country',
                                        'action'		=>	'manage-list',
                                        'id'			=>	$item->getIdentity(),
                                        
                                        ),
                                        $this->translate("Manager"),
                                        array(
                                            //'class' => 'smoothbox',
                                        )
                         );
                         ?>
                         
                    </td>
                </tr>

             <?php endforeach; ?>
        </tbody>
        </table>
    </div>
<?php endif; ?>
</div>
</div>